:root {
    --ebpt3-container-width: 1440px;
    --ebpt3-dark: #000000;
    --ebpt3-white: #ffffff;
    --ebpt3-primary: #00b6ba;
    --ebpt3-secondary: rgb(33, 37, 41);
    --ebpt3-container-width: 1440px;

    --ebpt3-card-img-shadow: 0 10px 15px -3px #2125291f;
    --ebpt3-shadow-card: 0 10px 10px 0 rgb(33, 37, 41, 0.1), 0 10px 10px 0 rgb(33, 37, 41, 0.06);
    --ebpt3-shadow-card-hover: 0 25px 50px -12px rgba(33, 37, 41, 0.25);

    --ebpt3-br-sm: 12px;
    --ebpt3-br-md: 15px;
    --ebpt3-br-lg: 20px;

    --ebpt3-space-xs: .4rem;
    --ebpt3-space-sm: .8rem;
    --ebpt3-space-md: 1.2rem;
    --ebpt3-space-lg: 2rem;
    --ebpt3-space-xl: 3rem;


    --ebpt3-fs-sm: 0.8rem;
    --ebpt3-fs-md: 1.1rem;
    --ebpt3-fs-lg: 1.125rem;
    --ebpts-fs-xl: 1.6rem;
    --ebpt3-fs-base: 1rem;
}

body {

    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ebpt3-points-section {
    width: 100%;
    background: var(--ebpt3-white);

    display: flex;
    flex-direction: column;
    gap: var(--ebpt3-space-xl);
}

.ebpt3-points-container {
    width: calc(100vw - 2em);
    max-width: var(--ebpt3-container-width);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--ebpt3-space-md);
}


/* تنسيق العنوان */
.ebpt3-points-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--ebpt3-space-sm);
}

.ebpt3-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: bold;
    color: var(--ebpt3-secondary);
}

.ebpt3-title-highlight {
    color: var(--ebpt3-primary);
}

/* الخط السفلي الأنيق للعنوان  */
.ebpt3-underline {
    width: 80px;
    height: 2px;
    background-color: var(--ebpt3-secondary);
    position: relative;
}

/* شبكة البطاقات (الـ Grid) */
.ebpt3-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--ebpt3-space-lg);
    align-items: stretch;
    justify-content: center;
    max-width: var(--ebpt3-container-width);
    width: calc(100vw - 2em);
    margin-inline: auto;
    /* لتوسيط القسم في منتصف الشاشة */
    width: 100%;
}

/* استجابة الشاشات الصغيرة (Mobile & Tablet) */
@media (max-width: 1024px) {
    .ebpt3-points-grid {
        grid-template-columns: 1fr 1fr ;
    }
}

@media (max-width: 600px) {
    .ebpt3-points-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ebpt3-points-grid {
        grid-template-columns: 1fr;
    }
}

/* تنسيق البطاقة الأساسية */
.ebpt3-point-card {
    display: flex;
    gap: var(--ebpt3-space-sm);
    padding: var(--ebpt3-space-md);
    background-color: var(--ebpt3-white);
    border: 1px solid var(--ebpt3-primary);
    border-radius: var(--ebpt3-br-md);
    box-shadow: var(--ebpt3-shadow-card);
}

/* دائرة الرقم */
.ebpt3-point-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: var(--ebpt3-space-lg);
    height: var(--ebpt3-space-lg);

    border-radius: 50%;
    color: var(--ebpt3-white);

    font-size: var(--ebpt3-fs-lg);
    font-weight: 800;
    flex-shrink: 0;
}

/* محتوى البطاقة */
.ebpt3-point-content {
    display: flex;
    flex-direction: column;
    gap: var(--ebpt3-space-xs);
    width: 100%;
}

/* رأس المحتوى (العنوان والوصف) */
.ebpt3-point-header-text {
    display: flex;
    flex-direction: column;
    gap: var(--ebpt3-space-xs);
}

.ebpt3-point-title-wrapper {

    color: var(--ebpt3-dark);
    font-size: var(--ebpt3-fs-lg);
    font-weight: 800;
}


/* القائمة النقطية (Bullets) */
.ebpt3-point-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    list-style: none;
    padding: 0;
}

.ebpt3-point-list-item {
    display: flex;
    align-items: center;
    gap: var(--ebpt3-space-sm);
    color: var(--ebpt3-dark);
    font-size: var(--ebpt3-fs-base);
}

.ebpt3-point-list-item::before {
    content: "";
    display: block;
    width: var(--ebpt3-space-xs);
    height: var(--ebpt3-space-xs);
    border-radius: var(--ebpt3-br-lg);
}


/* === الفئات المساعدة للألوان (Modifiers) === */

/* ألوان الخلفية لأرقام البطاقات */
.bg-secondary {
    background-color: var(--ebpt3-secondary);
}

.bg-primary {
    background-color: var(--ebpt3-primary);
}



/* ألوان النقاط (Bullets) لكل بطاقة */
.list-secondary .ebpt3-point-list-item::before {
    background-color: var(--ebpt3-dark);
}

.list-primary .ebpt3-point-list-item::before {
    background-color: var(--ebpt3-primary);
}